Below is a complete list of the keywords available in AutoIt. Click on a keyword name for a detailed description.
Keyword | Description |
False / True | Boolean values for use in logical expressions. |
#comments-start | Specify that an entire section of script should be commented out. |
ContinueCase | Abort the current case and continue a case into the next case in a Select or Switch block. |
ContinueLoop | Continue a While/Do/For loop. |
Default | Keyword value use in function call. |
Dim / Global / Local / Const | Declare a variable, a constant, or create an array. |
Do...Until | Loop based on an expression. |
Enum | Enumerates variables. |
Exit | Terminates the script. |
ExitLoop | Terminate a While/Do/For loop. |
For...Next | Loop based on an expression. |
For...In...Next | Enumerates elements in an Object collection or an array |
Func...Return...EndFunc | Defines a user-defined function that takes zero or more arguments and optionally returns a result. |
Func OnAutoItExit ()...EndFunc | Defines a user-defined function that will be called when the script exit. |
Func OnAutoItStart ()...EndFunc | Defines a user-defined function that will be called before the script start. |
If...Then | Conditionally run a single statement. |
If...ElseIf...Else...EndIf | Conditionally run statements. |
#include-once | Specifies that the current file may only be included once. |
#include | Includes a file in the current script. |
#NoTrayIcon | Indicates that the AutoIt tray icon will not be shown when the script starts. |
ReDim | Resize an existing array |
Select...Case...EndSelect | Conditionally run statements. |
Switch...Case...EndSwitch | Conditionally run statements. |
While...WEnd | Loop based on an expression. |
With...EndWith | Used to reduce long references to object type variables |